﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Redis.Utils
{
    /// <summary>
    /// redis异常控制
    /// </summary>
    [Serializable]
    public class ResponseException : Exception
    {
        public ResponseException(string code)
            : base("输出异常")
        {
            Code = code;
        }

        public string Code { get; private set; }
    }
}
